package com.cw.DesignModel23.Behavioral.MediatorPattern.Mediator1;

public class Main {
    public static void main(String[] args) {
        User tom = new User("Tom");
        User jerry = new User("Jerry");
        User trump = new User("Trump");

        tom.sendMessage("I'm cat");
        jerry.sendMessage("I'm mouse");
        trump.sendMessage("MAGA");
    }
}

